/**
 * 
 */
package com.gz.university.crm.service;

import java.util.List;

import com.gz.university.crm.entity.SysRole;
import com.gz.university.crm.form.SysRoleForm;

/**
 * @author jack
 * 
 */
public interface ISysRoleService {
	public static final String SERVICE_NAME = "com.gz.university.crm.service.impl.SysRoleServiceImpl";

	void saveSysrole(SysRole sysRole);

	List<SysRole> findSysRoles(SysRoleForm sysRoleForm);

	SysRole findSysRoleById(Integer sysRoleId);

	void updateSysRole(SysRole sysRole);

	/**
	 * 批量删除权限组根据Id
	 * 
	 * @param deleteIds
	 */
	void deleteSysRolesByIds(Integer[] deleteIds);

	/**
	 * 查询所有的权限资源
	 * @return
	 */
	List<SysRole> findAllSysRoles();
}
